<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<% 
	String path=request.getContextPath(); 
	String basePath=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
	request.setAttribute("basePath", basePath);
%>
<!DOCTYPE html>
<html>
<head>
	<title>Login</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link href="${basePath}view/css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
	<link href="${basePath}view/css/style.css" rel="stylesheet" type="text/css" media="all" />
	<link href="${basePath}view/css/popuo-box.css" rel="stylesheet" type="text/css" media="all" />
	<link href="${basePath}view/css/memenu.css" rel="stylesheet" type="text/css" media="all" />
	<script src="${basePath}view/js/jquery.min.js"></script>
	<script type="text/javascript" src="${basePath}view/js/memenu.js"></script>
	<script src="${basePath}view/js/simpleCart.min.js"></script>
	<!-- slide -->
</head>
<body>
	<!--header-->
	<div class="header">
		<div class="header-top">
			<div class="container">
				<div class="col-md-4 world"></div>
				<div class="col-md-4 logo">
					<a href="${basePath}index.jsp"><img src="${basePath}view/image/logo.png" alt=""></a>
				</div>
				<div class="col-md-4 header-left">
					<p class="log"></p>
					<div class="clearfix"></div>
				</div>
				<div class="clearfix"></div>
			</div>
		</div>
	</div>
	<!--//header-->
	<div class="account">
		<div class="container">
			<h1>Login</h1>
			<h3 style="width:400px;margin-left:auto;margin-right:auto;color:red;">${loginError}</h3>
			<div class="account_grid">
				<div class="col-md-6 login-right">
					<form action="${basePath}user/login.do" method="post">
						<span>UserName</span>
						<input type="text" name="userName" /> 			
						<span>Password</span>
						<input type="text" name="password" /> 
						<div class="word-in">
							<a class="forgot" href="#">Forgot Your Password?</a>
							<input type="submit" value="Login">
						</div>
					</form>
				</div>
				<div class="col-md-6 login-left">
					<br/><br/>
					<h4>NEW CUSTOMERS</h4>
					<p>By creating an account with our store, you will be able to move through the checkout process faster, store multiple shipping addresses, view and track your orders in your account and more.</p>
					<a class="acount-btn" href="${basePath}view/register.jsp">Create an Account</a>
				</div>
			</div>
		</div>
	</div>
</body>
</html>